<form method="post" action="<?php echo $this->url_edit . @$edit->{$this->{$this->model}->primaryKey}; ?>"  enctype="multipart/form-data" class="form-horizontal">
<div class="row">
<div class="col-12">
	<div class="widget-box">
		<div class="widget-title">
			<span class="icon">
				<i class="glyphicon glyphicon-align-justify"></i>									
			</span>
			<h5><?php echo ((@$edit->{$this->{$this->model}->primaryKey} > 0)?'Thông tin ':'Thêm mới ').@strtolower($this->resource->RES_NAME);?></h5>
		</div>
		<div class="widget-content nopadding">
			
			<?php //echo $this->atheme->group_single_upload('userfile', 'Icon', '', ' span6', @$cate->cat_icon, 'text', '80px','80px'); ?>
			
				<?php echo $this->atheme->group_input2('edit[trophy_title_title]', 'Tên danh hiệu', '', 'span6 ', @$edit->trophy_title_title, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[trophy_title_minimum_points]', 'Điểm cần đạt', '', 'span6 ', @$edit->trophy_title_minimum_points, 'text', '','Số điểm thấp nhất để đạt được danh hiệu này'); ?>
				<div class="form-actions">
					<button type="submit" class="btn btn-primary btn-small"><?php echo ((@$edit->{$this->{$this->model}->primaryKey} > 0)?'Save':'Add');?></button> or <a class="text-danger" href="<?php echo $this->url_index;?>">Cancel</a>
				</div>
			
		</div>
	</div>						
</div>
</div>

</form>